﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Microsoft.SharePoint.Client;

namespace com.sharepointutils.application
{
    public class SiteInformation
    {
        [CategoryAttribute("Connection Info"), ReadOnlyAttribute(true), DisplayName("Credentials")]
        public System.Net.NetworkCredential Credentials { get; set; }
        [CategoryAttribute("Site Info"), ReadOnlyAttribute(true), DisplayName("Site Name")]
        public String SiteName { get; set; }
        [CategoryAttribute("Site Info"), ReadOnlyAttribute(true), DisplayName("Site URL")]
        public String URL { get; set; }
        [CategoryAttribute("Site Info"), ReadOnlyAttribute(true), DisplayName("Site GUID")]
        public Guid ID { get; set; }

        public SiteInformation(String siteName, Guid id, String url, System.Net.NetworkCredential cred)
        {
            SiteName = siteName;
            URL = url;
            Credentials = cred;
            ID = id;
        }

        public SiteInformation()
        {

        }

    }
}
